package la.bbs558.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import la.bbs558.entity.InvitationCode;
import la.bbs558.entity.vo.InvitationCodeVO;
import org.apache.ibatis.annotations.Param;

/**
 * 邀请码(InvitationCode)表数据库访问层
 *
 * @author Shanks
 * @since 2023-12-17 20:07:40
 */
public interface InvitationCodeDao extends BaseMapper<InvitationCode> {

    IPage<InvitationCodeVO> selectInvitationList(Page<InvitationCodeVO> page, @Param("userId") Long userId);
}

